package com.itheima.dao;

import com.itheima.pojo.CategoryMenu;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface CategoryMenuMapper extends Mapper<CategoryMenu> {

    //查询sort最大值
    @Select("select MAX(sort) from t_category_menu")
    Long maxSort();
}
